package org.jeecg.modules.workservice.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 类名称：WorkAffairVo
 * 类描述：TODO
 * 创建人：zwr
 * 创建时间：2021-08-28   9:24
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ToString
public class WorkAffairVo {
    /**编号；UUID*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号；UUID")
    private String affairId;
    /**工单编号，工单表外键*/
    @Excel(name = "工单编号，工单表外键", width = 15)
    @ApiModelProperty(value = "工单编号，工单表外键")
    private String affairWorkId;
    /**工单名称*/
    @Excel(name = "工单名称", width = 15)
    @ApiModelProperty(value = "工单名称")
    private String workName;
    /**工单状态*/
    @Excel(name = "工单状态", width = 15)
    @ApiModelProperty(value = "工单状态")
    @Dict(dicCode = "work_distribution")
    private Integer workDistribution;
    /**工单紧急程度*/
    @Excel(name = "工单紧急程度", width = 15)
    @ApiModelProperty(value = "工单紧急程度")
    private Integer workUrgent;
    /**客户名称*/
    @Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private String workCustomer;
    /**客户手机号*/
    @Excel(name = "客户手机号", width = 15)
    @ApiModelProperty(value = "客户手机号")
    private String workPhone;
    /**客户地址*/
    @Excel(name = "客户地址", width = 15)
    @ApiModelProperty(value = "客户地址")
    private String workAddress;
    /**注意事项*/
    @Excel(name = "注意事项", width = 15)
    @ApiModelProperty(value = "注意事项")
    private String affairMatters;
    /**工单开始时间*/
    @Excel(name = "工单开始时间", width = 15)
    @ApiModelProperty(value = "工单开始时间")
    private String  workStart;
    /**工单结束时间*/
    @Excel(name = "工单结束时间", width = 15)
    @ApiModelProperty(value = "工单结束时间")
    private String workEnd;
    /**创建日期*/
    @Excel(name = "创建日期", width = 15)
    @ApiModelProperty(value = "创建日期")
    private String createTime;
}
